<?php
$currentController = Zend_Controller_Front::getInstance()->getRequest()->getControllerName();
$currentAction = Zend_Controller_Front::getInstance()->getRequest()->getActionName();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb" lang="en-gb" dir="ltr" id="minwidth" >
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <meta name="robots" content="index, follow" />
<!--  <meta name="keywords" content="joomla, Joomla" />
  <meta name="description" content="Joomla! - le portail dynamique et système de gestion de contenu" />
  <meta name="generator" content="Joomla! 1.5 - Open Source Content Management" /> -->
  <title>Grand Marnier - Administration</title>
  <link href="/administrator/templates/khepri/favicon.ico" rel="shortcut icon" type="image/x-icon" />

  <script type="text/javascript" src="/includes/js/joomla.javascript.js"></script>
  <script type="text/javascript" src="/media/system/js/mootools.js"></script>
  <script type="text/javascript">
		window.addEvent('domready', function(){ new Accordion($$('.panel h3.jpane-toggler'), $$('.panel div.jpane-slider'), {onActive: function(toggler, i) { toggler.addClass('jpane-toggler-down'); toggler.removeClass('jpane-toggler'); },onBackground: function(toggler, i) { toggler.addClass('jpane-toggler'); toggler.removeClass('jpane-toggler-down'); },duration: 300,opacity: false,alwaysHide: true}); });
  </script>


<link rel="stylesheet" href="/templates/system/css/system.css" type="text/css" />

<?php if($currentAction == "index") { ?>
<link href="/administrator/templates/khepri/css/login.css" rel="stylesheet" type="text/css" />
<?php } else { ?>
<link href="/administrator/templates/khepri/css/template.css" rel="stylesheet" type="text/css" />
<?php } ?>

<!--[if IE 7]>
<link href="/administrator/templates/khepri/css/ie7.css" rel="stylesheet" type="text/css" />
<![endif]-->

<!--[if lte IE 6]>
<link href="/administrator/templates/khepri/css/ie6.css" rel="stylesheet" type="text/css" />
<![endif]-->

	<link rel="stylesheet" type="text/css" href="/administrator/templates/khepri/css/rounded.css" />

<script type="text/javascript" src="/administrator/templates/khepri/js/menu.js"></script>
<script type="text/javascript" src="/administrator/templates/khepri/js/index.js"></script>

</head>
<body id="minwidth-body">
	<div id="border-top" class="h_green">
		<div>
			<div>

			<!--	<span class="version">Version 1.5.6</span> -->
				<span class="title">Grand Marnier</span>
			</div>
		</div>
	</div>



<?php if($currentAction == "index") { ?>

<?php } else { ?>
	<div id="header-box">
		<div id="module-status">
			<!-- <a href="index.php?option=com_messages"><span class="no-unread-messages">0</span></a><span class="loggedin-users">1</span> --> <span class="logout"><a href="/admin/logout">Logout</a></span>
		</div>
		<div id="module-menu">
<ul id="menu" >
<li class="node"><a>Wall</a>
<ul>
<li><a class="icon-16-media" href="<?php echo $this->url(array('controller' => 'admin', 'action' => 'wall'))?>">Approve uploads</a></li>
<li><a class="icon-16-trash" href="<?php echo $this->url(array('controller' => 'admin', 'action' => 'wallmanage'))?>">Manage uploads</a></li>
</ul>
</li>
<li class="node"><a>News</a>
<ul>
<li><a class="icon-16-messages" href="<?php echo $this->url(array('controller' => 'admin', 'action' => 'newsadd'))?>">Add new</a></li>
<li><a class="icon-16-trash" href="<?php echo $this->url(array('controller' => 'admin', 'action' => 'newsmanage'))?>">Manage</a></li>
</ul>
</li>
<?php if ($this->layout()->specialAdmin) { ?>
<li class="node"><a>Admin</a>
<ul>
<li><a class="icon-16-user" href="<?php echo $this->url(array('controller' => 'admin', 'action' => 'userassign'))?>">Assign user to country</a></li>
</ul>
</li>
<?php } ?>
</ul>
		</div>
		<div class="clr"></div>
	</div>
<?php } ?>


	<div id="content-box">
		<div class="border">
			<div class="padding">



<?php echo $this->layout()->content ?>

				<noscript>
					Warning! JavaScript must be enabled for proper operation of the Administrator back-end.				</noscript>

				<div class="clr"></div>
			</div>
		</div>
	</div>
	<div id="border-bottom"><div><div></div></div></div>
	<div id="footer">
		<!-- <p class="copyright">
			<a href="http://www.joomla.org" target="_blank">Joomla!</a>

			is Free Software released under the <a href="http://www.gnu.org/licenses/gpl-2.0.html">GNU/GPL License</a>.		</p> -->
	</div>
</body>
</html>
